package one.undefined.Listeners;
import net.dv8tion.jda.api.entities.Guild;
import net.dv8tion.jda.api.events.guild.GuildJoinEvent;
import net.dv8tion.jda.api.hooks.ListenerAdapter;


public class guildJoinEvent extends ListenerAdapter {
    @Override
    public void onGuildJoin(GuildJoinEvent event)
    {
        Guild guild = event.getGuild();


        System.out.println("Бот был добавлен на новый сервер. (" + guild.getId() + ")");
    }
}
